package day9;

/**
 * Created with IntelliJ IEDA.
 * Description:
 * User:86186
 * Date:2022-10-18
 * Time:23:29
 */
public class Choose {
//    String str = new String("hello");
//    char[] ch = {'a','b'};
//    public static void main(String[] args) {
//        Choose choose = new Choose();
//        choose.exchange(choose.str,choose.ch);
//        System.out.print(choose.str + " and ");
//        System.out.println(choose.ch);
//    }
//    public void exchange(String str,char[] ch){
//        str = "take ok";
//        ch[0] = 'c';
//    }






    public static void main(String[] args) {
        String x = "fmn";
        x.toUpperCase();
        System.out.println(x);
        String y = x.replace('f','F');

        y = y + "wxy";
        System.out.println(y);
    }
}







